#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

int main()
{
	vector<int> ivec;
	cout<<"enter some integers:"<<endl;
	int val;
	while(cin>>val)
		ivec.push_back(val);
	cin.clear();
	cout<<"enter the find number:"<<endl;
	int find_val;
	cin>>find_val;
	
	int result=count(ivec.begin(),ivec.end(),find_val);

	cout<<result<<" elements"<<endl;

	return 0;

}